package com.zswl.decorate.js;

import android.content.Context;
import android.webkit.JavascriptInterface;

import com.zswl.decorate.api.Api;
import com.zswl.decorate.api.ApiService;
import com.zswl.decorate.util.RxUtil;

import io.reactivex.subjects.BehaviorSubject;

public class WebJs {
    protected Context context;
    protected BehaviorSubject<RxUtil.LifeEvent> lifeEvent;
    protected Api api;

    public WebJs(Context context, BehaviorSubject<RxUtil.LifeEvent> lifeEvent) {
        this.context = context;
        this.lifeEvent = lifeEvent;
        api = ApiService.getInstance().getApi();
    }

    @JavascriptInterface
    public void aa() {

    }
}
